package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 work_type
 *
 * @author ruoyi
 * @date 2024-11-29
 */
public class WorkType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 工种名称
     */
    @Excel(name = "工种名称")
    private String workTypeName;

    /**
     * 操作人id
     */
    @Excel(name = "操作人id")
    private Long operate;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setWorkTypeName(String workTypeName) {
        this.workTypeName = workTypeName;
    }

    public String getWorkTypeName() {
        return workTypeName;
    }

    public void setOperate(Long operate) {
        this.operate = operate;
    }

    public Long getOperate() {
        return operate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("workTypeName", getWorkTypeName())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("operate", getOperate())
                .toString();
    }
}
